home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
CRYPTE11.ARJ
/
FILECOMP.DOC
< prev
next >
Wrap
Text File
|
1992-05-20
|
2KB
|
55 lines
Documentation file for FILECOMP.EXE
LEGAL STUFF
FILECOMP.EXE and this file are Copyright (C) 1989-1990 Michael Paul Johnson.
All rights reserved.
Permission is hereby granted for this file to be distributed for free (or for
nominal connect time and/or disk duplication charges) provided that the
program is not modified and this documentation file is included with the
program. If you find this program useful, a donation for what you think it is
worth to the author would be appreciated. Donations, questions, or comments
may be directed to the author at:
Mike Johnson
P. O. Box 1151
Longmont, CO 80502-1151
Rainbow Missions BBS 303-938-9654
This program is provided with no warranty of any kind, and no liability of any
sort will be accepted by the author. It is the responsibility of the user to
determine the suitability of this program for the user's applications. If you
find a bug in the program, please let me know.
WHAT IS THIS?
FILECOMP.EXE is a file comparison utility that does a byte for byte comparison
of two files. Unlike the MS-DOS FC command, this program will compare two
files of different lengths to see if they are the same up to the end of the
shortest file. It is also faster than the MS-DOS version.
I originally wrote this program while working on CRYPTMPJ -- the file
encryption program -- when I noticed that the MS-DOS file comparison program
was not only inadequate, it was not even present in all versions of DOS.
To use this program to compare two files, simply enter the names of the files
on the command line. For example to compare THIS.TXT and THAT.TXT, type:
FILECOMP THIS.TXT THAT.TXT
If the two files are the same, the program will tell you that. If the
programs are not the same length, but they are the same up to the end of the
shorter file, the program will report that "The first XXX bytes of THIS.TXT
and THAT.TXT are the same." (XXX would be the length of the shorter file).
If the files are different, the first few differences will be shown. There is
no attempt to resynchronize, but by looking at the differences shown, you will
see if there is just a missing character, or if the files are totally
different at that point, or what.
ENJOY!
*******************************************************************************